<div data-extend-template="layouts/partials/table.html">
  <table data-block="table" class="table table-striped table-bordered">
    <thead>
      <tr bst-table-head>
        <th bst-table-column translate>Name</th>
        <th bst-table-column translate>Product</th>
        <th bst-table-column translate>Content</th>
      </tr>
    </thead>

    <tbody>
      <tr bst-table-row ng-repeat="repository in table.rows">
        <td bst-table-cell>{{ repository.name }}</td>
        <td bst-table-cell>{{ repository.product.name }}</td>
        <td bst-table-cell>
          <div>
            <a ui-sref="product.repository.manage-content.debs({productId: repository.product.id, repositoryId: repository.id})" translate>
              {{ repository.content_counts.deb }} deb Packages
            </a>
          </div>
        </td>
      </tr>
    </tbody>
  </table>
</div>
